package ooday01;

public class Car {
    String brand;
    String color;
    double price;

    Car(){
    }
    Car(String brand,String color,double price){
        this.brand = brand;
        this.color = color;
        this.price = price;
    }
    void start(){
        System.out.println("品牌为"+brand+",颜色为"+color+",价格为"+price+"万元的车启动了");
    }
    void run(){
        System.out.println("品牌为"+brand+",颜色为"+color+",价格为"+price+"万元的车行驶中");
    }
    void stop(){
        System.out.println("品牌为"+brand+",颜色为"+color+",价格为"+price+"万元的车停下来了");
    }
}
